package com.yixin.vuehr.web.exception;

import org.springframework.web.bind.annotation.RestControllerAdvice;

@RestControllerAdvice
public class GlobalExceptionHandler {
//    @ExceptionHandler(SQLIntegrityConstraintViolationException.class)
//    public RespBean sQLIntegrityConstraintViolationException(SQLIntegrityConstraintViolationException e){
//        return RespBean.error("该数据有关联数据，操作失败！",e);
//    }

}
